<!DOCTYPE html>
<?php

    $username = array(
                        'name'        => 'username',
                        'id'          => 'fname',
                        'size'        => '30',
                        'value'       => set_value('username'),
                    );
    $email = array(
                        'name'        => 'email',
                        'id'          => 'email',
                        'size'        => '30',
                        'value'       => set_value('email'),
                    );
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="<?php echo base_url('public_source/css_source/register.css')?>" rel="stylesheet" type="text/css">
        <style>
            .error {color: red; line-height: 1.5; margin-top: 20px}
        </style>
    </head>
    <body>
        <div ID="Center_Contend_Register" style="padding-bottom: 47px;">
            <div ID="Register_Title_Image" style="margin-left: -5px">
                <img src="<?php echo base_url("public_source/images_source/title_product.png")?>" width="955px" height="37px">
                <div ID="Register_Title">
                    Cấp lại mật khẩu
                </div>
            </div>
            <div id="Detail_Register">
                <div class="error">
                    <ul>
                        <?php
                            echo validation_errors('<li>','</li>');
                            if($error!="" && !empty($error))
                                echo $error;
                        ?>
                    </ul>
                </div>
                <form action="" method="post" enctype="multipart-formdata">
                    <table cellspacing="15px">
                        <tr>
                            <td>Tên tài khoản</td>
                            <td><?php echo form_input($username);?></td>
                        </tr>
                        <tr>
                            <td>Địa chỉ Email</td>
                            <td><?php echo form_input($email);?></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td><input type="submit" value="Gửi yêu cầu"></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </body>
</html>